package com.qf.mock;

import com.qf.pojo.Order;
import com.qf.service.OrderService;

import java.util.ArrayList;
import java.util.List;

public class OrderServiceMock implements OrderService {
    @Override
    public List<Order> findByUid(Integer uid) throws InterruptedException {

        System.out.println("远程调用出现异常，执行这个降级方法.....");

        return new ArrayList<>();
    }
}
